package cn.scnu.model.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 *
 * </p>
 *
 * @author hqzqaq
 * @since 2024-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("baiyun_project_list")
@ApiModel(value = "BaiyunProjectList对象", description = "")
public class BaiyunProjectListEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号，主键，自增")
    @TableId(value = "xh", type = IdType.INPUT)
    private Long xh;

    @ApiModelProperty(value = "项目编号")
    @TableField("xmbh")
    @ExcelProperty("项目编号")
    private String xmbh;

    @ApiModelProperty(value = "项目名称")
    @TableField("xmmc")
    @ExcelProperty("项目名称")
    private String xmmc;

    @ApiModelProperty(value = "委托单位")
    @TableField("wtdw")
    @ExcelProperty("委托单位")
    private String wtdw;

    @ApiModelProperty(value = "项目拟收费(元)")
    @TableField("xmnsf")
    @ExcelProperty("项目拟收费(元)")
    private BigDecimal xmnsf;

    @ApiModelProperty(value = "实际收费(元)")
    @TableField("sjsf")
    @ExcelProperty("实际收费(元)")
    private BigDecimal sjsf;

    @ApiModelProperty(value = "项目归属")
    @TableField("xmgs")
    @ExcelProperty("项目归属")
    private String xmgs;

    @ApiModelProperty(value = "项目负责人")
    @TableField("xmfzr")
    @ExcelProperty("项目负责人")
    private String xmfzr;

    @ApiModelProperty(value = "委托时间")
    @TableField("wtsj")
    @ExcelProperty(value = "委托时间", format = "yyyy-MM-dd")
    @DateTimeFormat("yyyy-MM-dd")
    private LocalDate wtsj;

    @ApiModelProperty(value = "业主联系人")
    @TableField("yzlxr")
    @ExcelProperty("业主联系人")
    private String yzlxr;

    @ApiModelProperty(value = "工程地点")
    @TableField("gcdd")
    @ExcelProperty("工程地点")
    private String gcdd;

    @ApiModelProperty(value = "建设单位")
    @TableField("jsdw")
    @ExcelProperty("建设单位")
    private String jsdw;

    @ApiModelProperty(value = "牵头部门")
    @TableField("qtbm")
    @ExcelProperty("牵头部门")
    private String qtbm;

    @ApiModelProperty(value = "组长")
    @TableField("zz")
    @ExcelProperty("组长")
    private String zz;

    @ApiModelProperty(value = "项目分类")
    @TableField("xmfl")
    @ExcelProperty("项目分类")
    private String xmfl;

    @ApiModelProperty(value = "统筹类别")
    @TableField("tclb")
    @ExcelProperty("统筹类别")
    private String tclb;

    @ApiModelProperty(value = "实际结束")
    @TableField("sjjs")
    @ExcelProperty(value = "实际结束", format = "yyyy-MM-dd")
    @DateTimeFormat("yyyy-MM-dd")
    private LocalDate sjjs;

    @ApiModelProperty(value = "合同编号")
    @TableField("htbh")
    @ExcelProperty("合同编号")
    private String htbh;

    @ApiModelProperty(value = "生产板块")
    @TableField("scbk")
    @ExcelProperty("生产板块")
    private String scbk;

    @ApiModelProperty(value = "业务环节")
    @TableField("ywhj")
    @ExcelProperty("业务环节")
    private String ywhj;

    @ApiModelProperty(value = "业务类型")
    @TableField("ywlx")
    @ExcelProperty("业务类型")
    private String ywlx;

    @ApiModelProperty(value = "重点平台")
    @TableField("zdpt")
    @ExcelProperty("重点平台")
    private String zdpt;

    @ApiModelProperty(value = "重点业主")
    @TableField("zdyz")
    @ExcelProperty("重点业主")
    private String zdyz;

    @ApiModelProperty(value = "重点项目")
    @TableField("zdxm")
    @ExcelProperty("重点项目")
    private String zdxm;

    @ApiModelProperty(value = "合同名称")
    @TableField("htmc")
    @ExcelProperty("合同名称")
    private String htmc;

    @ApiModelProperty(value = "签订日期")
    @TableField("qdrq")
    @ExcelProperty("签订日期")
    private LocalDate qdrq;

    @ApiModelProperty(value = "登记日期")
    @TableField("djrq")
    @ExcelProperty("登记日期")
    private LocalDate djrq;

    @ApiModelProperty(value = "合同状态")
    @TableField("htzt")
    @ExcelProperty("合同状态")
    private String htzt;

    @ApiModelProperty(value = "现合同额(元)")
    @TableField("xhte")
    @ExcelProperty("现合同额(元)")
    private BigDecimal xhte;

    @ApiModelProperty(value = "合同额（万元）")
    @TableField("hte")
    @ExcelProperty("合同额（万元）")
    private BigDecimal hte;

    @ApiModelProperty(value = "累计已收款金额")
    @TableField("ljyskje")
    @ExcelProperty("累计已收款金额")
    private BigDecimal ljyskje;

    @ApiModelProperty(value = "确认产值(元)")
    @TableField("qrcz")
    @ExcelProperty("确认产值(元)")
    private BigDecimal qrcz;

}
